<%--
  Created by IntelliJ IDEA.
  User: 白菜你个cabbage
  Date: 2019/10/28
  Time: 14:33
  To change this template use File | Settings | File Templates.
--%>
<%--用 JavaBean 实现统计用户访问网站的次数--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>counter1.jsp</title>
</head>
<body>
这是counter1.jsp.<br>
<jsp:useBean id="counter" class="ServletDemo.Counter" scope="application"/>
<jsp:getProperty name="counter" property="count"/>

</body>
</html>
